#!/usr/bin/env python3.9
# -*- encoding: utf-8 -*-
'''
@文件        :serializers.py
@说明        : 订单模型相关序列化器
@时间        :2022/12/03 21:40:53
@作者        :Mars
@版本        :1.0
'''


from rest_framework import serializers

from .models import Order


class OrderSerializer(serializers.ModelSerializer):
    """订单序列器"""
    class Meta:
        model = Order
        fields = '__all__'